package com.sc.nft.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 用户端分享购成团信息详情
 *
 * @author liGen
 * @version 1.0
 * @date 2023/12/13 4:38 下午
 */
@Data
public class MallActivityShareTeamDetailDTO {

    @ApiModelProperty(value = "成团主键ID")
    private Long id;

    @ApiModelProperty(value = "分享购活动ID")
    private Long activityShareId;

    @ApiModelProperty(value = "最低成团订单数量")
    private Integer minOrderNum;

    @ApiModelProperty(value = "总订单数量")
    private Integer totalOrderNum;

    @ApiModelProperty(value = "有效订单数量")
    private Integer validOrderNum;

    @ApiModelProperty(value = "商品标题")
    private String productName;

    @ApiModelProperty(value = "封面图")
    private String coverImage;

    @ApiModelProperty(value = "封面图")
    private List<String> coverImages;

    @ApiModelProperty(value = "详细规则")
    private String detailedRules;

    @ApiModelProperty(value = "活动售价")
    private BigDecimal salesPrice;

    @ApiModelProperty(value = "最低拼团价")
    private BigDecimal shareSalesPrice;

    @ApiModelProperty(value = "当前时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date nowTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty(value = "分享链接")
    private String shareLink;
}
